package com.ylq.reggie_take_away;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//(exclude= {DataSourceAutoConfiguration.class})
@ServletComponentScan
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching //开启注解缓存功能
public class ReggieTakeAwayApplication {

    public static void main(String[] args) {
        SpringApplication.run(ReggieTakeAwayApplication.class, args);
    }

}
